// pages/life/index.js
Page({

  onLoad(options) {
    wx.request({
      url: 'https://devapi.qweather.com/v7/indices/1d?location=113.68,34.80&key=4c64b397a43d4bbfbc23567a0b9f0a30&type=0',
      success:result=>{
        let daily=result.data.daily
        this.setData({daily})
      },
      fail:err=>{

      }
    })

  },
})